<template>
    <div>
      <!--用户主页-->
      <UserHead />
      <UserContent />
      <ChangeLanguage />
      <BackUp />
    </div>
</template>

<script>
    import UserHead from './UserHead'
    import UserContent from './UserContent'
    import BackUp from '../../common/BackUp'
    import ChangeLanguage from '../../common/ChangeLanguage'

    export default {
        name: "UserHomePage",
        components:{
            UserHead,
            UserContent,
            ChangeLanguage,
            BackUp
        },
        // 已弃用
        // beforeCreate: function () {
        //     this.axios.post('http://localhost:8081/loginReg/weatherLogin').then(res=>{
        //         if (res.data == false) {
        //             this.$router.push('/loginRegistrationPage')
        //         }
        //     }).catch(
        //         exception=>{
        //             this.$router.push('/loginRegistrationPage')
        //         }
        //     )
        // },
    }
</script>

<style scoped>

</style>
